keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions on Asterisk with SS7 Chinese variant. (有关Asterisk+中国七号信令的问题)

7号信令配置问题,故障

16 years 1 week ago #959 by miaolin
不要在zaptel.conf里面设置dchan,把所有的channel都设置成bchan试试
16 years 1 week ago #960 by wangjh
根据你的提示修改了zaptel
现在的现象是
[Apr 26 18:13] WARNING[4993] mtp.c: MTP2 timer T3 timeout (failed to receive 'N', or 'E' after sending 'O'), initial alignment failed on li
nk 'lk1'.
[Apr 26 18:13] DEBUG[4993] mtp.c: Restarting initial alignment on link 'lk1'.
[Apr 26 18:13] DEBUG[4993] mtp.c: Restarting initial alignment on link 'lk1'.
[Apr 26 18:13] WARNING[4993] mtp.c: MTP2 timer T3 timeout (failed to receive 'N', or 'E' after sending 'O'), initial alignment failed on li
nk 'lk1'.
[Apr 26 18:13] DEBUG[4993] mtp.c: Restarting initial alignment on link 'lk1'.
[Apr 26 18:13] WARNING[4993] mtp.c: MTP2 timer T3 timeout (failed to receive 'N', or 'E' after sending 'O'), initial alignment failed on li
nk 'lk1'.
[Apr 26 18:13] DEBUG[4993] mtp.c: Restarting initial alignment on link 'lk1'.
[Apr 26 18:13] WARNING[4993] mtp.c: MTP2 timer T3 timeout (failed to receive 'N', or 'E' after sending 'O'), initial alignment failed on li
nk 'lk1'.
[Apr 26 18:13] NOTICE[4993] mtp.c: Excessive poll delay 5281!
[Apr 26 18:13] DEBUG[4993] mtp.c: MTP2 bitstream frame format error, entering octet counting mode on link 'lk1'.
[Apr 26 18:13] DEBUG[4993] mtp.c: Last raw bits on link 'lk1': 00 1c 8c ef cf cf df 7d f6 00 03 91 9d f9 fb ef be c0 00 72 33 bf 3f 3f 7d f
7 d8 00 0e 46 c8 ce fc fd f7 df
[Apr 26 18:13] DEBUG[4993] mtp.c: MTP2 bitstream frame format error, entering octet counting mode on link 'lk1'.
[Apr 26 18:13] DEBUG[4993] mtp.c: Last raw bits on link 'lk1': 91 9d f9 fb ef be c0 00 72 33 bf 3f 3f 7d f7 d8 00 0e 46 c8 ce fc fd f7 df 6
0 00 7d 80 00 e4 67 7e 7e fb ef
[Apr 26 18:13] DEBUG[4993] mtp.c: Restarting initial alignment on link 'lk1'.
[Apr 26 18:13] WARNING[4993] mtp.c: MTP2 timer T3 timeout (failed to receive 'N', or 'E' after sending 'O'), initial alignment failed on li
nk 'lk1'.
[Apr 26 18:13] DEBUG[4993] mtp.c: Restarting initial alignment on link 'lk1'.
[Apr 26 18:13] WARNING[4993] mtp.c: MTP2 timer T3 timeout (failed to receive 'N', or 'E' after sending 'O'), initial alignment failed on li
nk 'lk1'.
[Apr 26 18:13] DEBUG[4993] mtp.c: Restarting initial alignment on link 'lk1'.
[Apr 26 18:13] WARNING[4993] mtp.c: MTP2 timer T3 timeout (failed to receive 'N', or 'E' after sending 'O'), initial alignment failed on li
nk 'lk1'.
控制台上看到的状态:
ss7 link status
linkset lkst1, link lk1, schannel 16, DOWN, rx: 4, tx: 3/4, sentseq/lastack: 127/127, total 625568, 625664
linkset lkst1, link lk1, schannel 16, DOWN, rx: 0, tx: 4/4, sentseq/lastack: 127/127, total 2233888, 2233984
aster*CLI>
aster*CLI> ss7 link status
linkset lkst1, link lk1, schannel 16, ALIGNED, rx: 2, tx: 4/4, sentseq/lastack: 127/127, total 2249264, 2249360
aster*CLI> ss7 link status
linkset lkst1, link lk1, schannel 16, DOWN, rx: 6, tx: 3/4, sentseq/lastack: 127/127, total 2257184, 2257280
aster*CLI> ss7 link status
linkset lkst1, link lk1, schannel 16, ALIGNED, rx: 3, tx: 4/4, sentseq/lastack: 127/127, total 2273920, 2274016
aster*CLI> ss7 link status
linkset lkst1, link lk1, schannel 16, DOWN, rx: 1, tx: 4/4, sentseq/lastack: 127/127, total 2282784, 2282880
aster*CLI> ss7 link status
linkset lkst1, link lk1, schannel 16, ALIGNED, rx: 1, tx: 2/4, sentseq/lastack: 127/127, total 2290496, 2290592
aster*CLI> ss7 link status
linkset lkst1, link lk1, schannel 16, ALIGNED, rx: 3, tx: 0/4, sentseq/lastack: 127/127, total 2297728, 2297824
aster*CLI> ss7 link status
linkset lkst1, link lk1, schannel 16, DOWN, rx: 1, tx: 0/4, sentseq/lastack: 127/127, total 2324448, 2324544
应该信令链路没有起来,那里的问题呢 ?
正常信息应该什么状态呢 ?
16 years 1 week ago #961 by wangjh
还有CIC的问题
我的cic范围是第一个中继 0-31,第二个中继32-63
怎么在asterisk中 firstcic => 1 或者 33 呢 ?不是 0,32 ?
zaptel中的通道是:1-31,32-62,63-93,94-124 (每中继31通道)
而运营商的cic范围都是0-31,32-63,64-95,96-127来表示的(每中继32通道)
asterisk ss7 firstcic 为 1,33,65......(32的累加)
这里会不会产生冲突呢 ???
请教,谢谢!
16 years 1 week ago #962 by miaolin
如果是cic对不上,系统会有提示。

现在似乎还不是这个问题。

chan_ss7有单独的命令可以把调试信息输出到一个文件,help ss7可以看到。能否把那个文件内容放上来?
16 years 1 week ago #963 by wangjh
我用的命令是:
ss7 dump start ss7test fisu lssu msu
得到的文件内容摘录一下:

11383.934125 0 ff ff 01 03
11383.942500 0 ff ff 01 03
11383.943375 0 ff ff 01 03
11383.944375 0 ff ff 01 03
11383.945250 0 ff ff 01 03
11383.934875 0 ff ff 01 00 27 e6
11383.935875 0 ff ff 01 00 27 e6
11383.946125 0 ff ff 01 02
11383.947125 0 ff ff 01 02
11383.937000 0 ff ff 01 00 27 e6
11383.938000 0 ff ff 01 00 27 e6
11383.948000 0 ff ff 01 02
11383.948875 0 ff ff 01 02
11383.940375 0 ff ff 01 00 27 e6
11383.941500 0 ff ff 01 00 27 e6
11383.952625 0 ff ff 01 02
11383.953500 0 ff ff 01 02
11383.942625 0 ff ff 01 00 27 e6
11383.943875 0 ff ff 01 00 27 e6
11383.954500 0 ff ff 01 02
11383.955375 0 ff ff 01 02
11383.963000 0 ff ff 01 00 27 e6
11383.964000 0 ff ff 01 00 27 e6
11383.974750 0 ff ff 01 02
11383.975625 0 ff ff 01 02
11420.927125 0 ff ff 01 03
11420.928125 0 ff ff 01 03
就这3种信息,我用text2cap 转了格式在wireshak中也看不到opc dpc值,看不懂什么。请分析一下,谢谢
16 years 6 days ago #966 by miaolin
我看对方的信令包就没发过来
你用的什么卡?底层通信正常吗?
Time to create page: 0.040 seconds
Powered by Kunena Forum